#!/bin/sh
#BIN=telnetd
BIN=vs_server
num=$(ps | grep -i "$BIN" | grep -v "grep" | wc -l)
#echo $num

if [ $num -gt 0 ] ; then
        echo "kill process of $BIN!"
        killall $BIN
else
        echo $BIN is not run!
fi